package com.iflyteck.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "zdy")
@Component
public class ServerConfigUtil {

    // zookeeper服务器连接地址
    private String zkServerConnectUrl;

    // server服务器根节点
    private String serverBaseNode;

    public String getZkServerConnectUrl() {
        return zkServerConnectUrl;
    }

    public void setZkServerConnectUrl(String zkServerConnectUrl) {
        this.zkServerConnectUrl = zkServerConnectUrl;
    }

    public String getServerBaseNode() {
        return serverBaseNode;
    }

    public void setServerBaseNode(String serverBaseNode) {
        this.serverBaseNode = serverBaseNode;
    }
}
